﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace lcmyjobs.Web.enprise
{
    public partial class InterviewDetail : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {

                if (Application["webname"] != null)
                {
                    this.Title = string.Format("面试说明  {0}", Application["webname"].ToString());
                }

                if (Request["enterprise_iid"] != null)
                {
                    string enterprise_iid = Request["enterprise_iid"].ToString();

                    lcmyjobs.BLL.enterprise_interview er = new BLL.enterprise_interview();

                    DataSet ds = er.GetInterviewbyiid(enterprise_iid);

                    if (ds.Tables[0].Rows.Count > 0)
                    {
                        this.lbl_jobname.Text = ds.Tables[0].Rows[0]["jobs_name"].ToString() ;
                        this.lbl_time.Text = ds.Tables[0].Rows[0]["interviewtime"].ToString();
                        this.lbl_addr.Text = ds.Tables[0].Rows[0]["invite_addr"].ToString();
                        this.lbl_detail.Text = ds.Tables[0].Rows[0]["interviewexp"].ToString();
                        this.lbl_contact.Text = "0635-8251515";
                    }
                }
            }
        }
    }
}